<template>
  <div>
    首页{{ userStore.userName }}
  </div>
</template>
<script lang='ts' setup>
import {onMounted} from 'vue';
import useUserStore from '@/stores/modules/user';
const userStore = useUserStore()
onMounted(() => {
  userStore.userInfo()
})
</script>
<style lang='scss' scoped>

</style>